
package com.wyzz.hr.bo;

import java.util.List;
import java.util.Map;

import com.wyzz.hr.pojo.Department;
import com.wyzz.hr.pojo.Employee;
import com.wyzz.hr.pojo.Position;
import com.wyzz.hr.pojo.PositionBase;

public interface IPositionBo {

	public abstract List findAllActivePosition();

	public abstract Position getRespPosOfDept(String s);

	public abstract Position getPosById(String s, String as[]);

	public abstract Position getPositionById(String s);

	public abstract Position getPositionByPbId(String s);

	public abstract boolean savePos(Position position);

	public abstract boolean savePosList(List list);

	public abstract List getPosListOfDept(String s);

	public abstract List getRespPosListOfDept(String as[]);

	public abstract List getPosListOfEmps(List list);

	public abstract List getAllParentPos();

	public abstract boolean isSupPos(String s, String s1);

	public abstract String[] getAllSubPosIds(int i, String s);

	public abstract String[] getAllSubEmpIds(int i, String s);

	public abstract Position[] getAllSupPosIds(int i, Department department);

	public abstract Position[] getAllSupPosIds(int i, Employee employee);

	public abstract Position[] getAllSupPosIds(int i, String s);

	public abstract List getAllSubPositions(String as[], String as1[]);

	public abstract Map getPerfEvalPosIds(int i, int j, String as[]);

	public abstract Position getPosByEmpNo(String s, String as[]);

	public abstract Employee getEmpWithPos(String s, String as[]);

	public abstract List getDirectSubPos(String s);

	public abstract List getPosListByPB(PositionBase positionbase);

	public abstract String delPosition(String s, boolean flag);

	public abstract List getPositionTreeListNode();

	public abstract List getChangeSupTreeListNode(String s);

	public abstract Position getPosInCharge(String s);

	public abstract String batchSetEmpPos(String s, String s1, String as[]);

	public abstract Map getPosDBMap();

	public abstract List getDBPosList();

	public abstract Map getAllDeptRespPosMap();

	public abstract boolean parentPosInList(List list, Position position);

	public abstract Object putEmpToPB(List list, List list1, Employee employee,
			PositionBase positionbase);

	public abstract List generateEmpConnTreeNodes();

	public abstract String judgePostion(String s, Integer integer);

	public abstract List searchPositionByEmpId(String as[]);

	public abstract List searchSubPosition(String as[]);
}
